from typing import Optional
from sqlmodel import Field, JSON, SQLModel


class HttpLog(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    logs: dict = Field(sa_type=JSON, default=None)
    __tablename__ = "http_log"
